/*
* @author dumeng
*/
'use strict'
import request from '@/utils/request'

/**
 * 作品详细信息
 */
export function get(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/worksShow/get',
    method: 'POST',
    data
  })
}
/**
 * 作品详细信息
 */
export function getRejectData(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/worksUpload/get',
    method: 'POST',
    data
  })
}
/**
 * 作品点赞评分信息
 */
export function queryEvaluate(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/worksShow/queryEvaluateNum',
    method: 'post',
    data
  })
}
/**
 * 评论列表-审核页面
 */
export function queryPage4comment(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/activityComment/queryPageRoot',
    method: 'post',
    data
  })
}

/**
 * 评论列表-查看更多-审核页面
 * @param data
 * @returns {*}
 */
export function queryPage4commentSon(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/activityComment/queryPageSon',
    method: 'post',
    data
  })
}
